home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Gold Collection
/
Software Vault - The Gold Collection (American Databankers) (1993).ISO
/
cdr49
/
actlib13.zip
/
STRINGS.ZIP
/
ISALPHA.C
< prev
next >
Wrap
C/C++ Source or Header
|
1993-02-25
|
533b
|
26 lines
/* Copyright (C) 1993 Marc Stern (internet: stern@mble.philips.be) */
#include "strings.h"
#include <ctype.h>
/***
* Function : strisalpha
*
* Description : Tests if a string contains only alphabetical character
*
* Parameters : in char *string
*
* Return : 1 if string contains only alphabetical characters.
* 0 otherwise
*
* OS/Compiler : All
***/
int strisalpha( const char *string )
{
while ( isalpha(*string++) );
return( ! *--string );
}